package com.atguigu.guli.service.trade.feign;

import com.atguigu.guli.service.base.result.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UncenterMemberServiceFallBack implements UcenterMemberService{
    @Override
    public R getMemberDtoById(String memberId) {
      //容错
      log.warn("熔断保护");
      return R.error();
    }
}
